package com.github.edu.repair.api.server;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 流程步骤授权
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-8-30
 */
public interface SysRoleStepManagerRestApi {

    /**
     * 用户流程步骤权限查询
     * @param userId 用户id
     * @param stepId 步骤id
     * @param orgId
     * @param roleId
     * @return
     */
    @GetMapping("/rest/api/rolestep/query/oauth")
    String queryRoleStepOauth(@RequestParam("userId")String userId,
                              @RequestParam("stepId")Integer stepId,
                              @RequestParam("roleId")String roleId,
                              @RequestParam("orgId")String orgId);

}
